COMO REINICIAR APACHE

Como parar, iniciar ou reiniciar o apache no ubuntu?

Como parar, iniciar ou reiniciar o apache no ubuntu?

Tem várias formas de fazer, mas todas usam stop, start e restart.

/etc/init.d/apache2 stop

sudo /etc/init.d/apache2 stop

sudo service apache2 stop

systemctl stop apache2.service

Os comandos acima estão usando stop ou seja estão parando o apache. Para reiniciar o apache use restart no lugar. Para iniciar use o start no lugar.




botão de compartilhamento whatsapp botão de compartilhamento no twiter botão de compartilhamento do site botão de compartilhamento no linkedin botão de compartilhamento whatsapp